from Components.Component import Component

class Printer(Component):

  def __call__(self, values):
    keys = sorted(values.keys())
    for key in keys:
      print("values[{0}] = {1}".format(key, values[key]))

    # returns (([None], []),)    if there are no more components connected
    return (([self.get_connection()], values),)   
